package com.wpen.unit.config;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.context.annotation.Configuration;

import com.wpen.unit.AppVariables;

/**
 * 容器启动完成，执行逻辑
 * 
 * @author Wang Peng
 * @date 2022-12-06
 */
@Configuration
public class AppStartedRunner implements ApplicationRunner {

    @Override
    public void run(ApplicationArguments args) throws Exception {
        AppVariables.kernelStarted = true;
    }

}
